home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19950528-19950726 / 000000_news@columbia.edu_Sun May 28 12:43:13 1995.msg next >
Internet Message Format  |  2020-01-01  |  4KB

  1. Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA21379
  2.   (5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Tue, 30 May 1995 03:24:13 -0400
  3. Received: by apakabar.cc.columbia.edu id AA05590
  4.   (5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Tue, 30 May 1995 03:24:11 -0400
  5. Path: news.columbia.edu!panix!zip.eecs.umich.edu!newshost.marcam.com!news.mathworks.com!uhog.mit.edu!bloom-beacon.mit.edu!gatech!swrinde!news.dell.com!pmafire!mars.poci.amis.com!cwis.isu.edu!news.cc.utah.edu!news.cs.utah.edu!cc.usu.edu!jrd
  6. From: jrd@cc.usu.edu (Joe Doupnik)
  7. Newsgroups: comp.protocols.kermit.misc
  8. Subject: Re: Kermit under MS-Windows
  9. Message-Id: <1995May28.184313.52593@cc.usu.edu>
  10. Date: 28 May 95 18:43:13 MDT
  11. References: <3q04p0$1ldu@ns2-1.CC.Lehigh.EDU> <heliosD951IA.IC8@netcom.com> <1995May25.195311.52307@cc.usu.edu> <heliosD993n1.ML8@netcom.com> <3qau77$d4g@amhux3.amherst.edu>
  12. Organization: Utah State University
  13. Lines: 48
  14. Apparently-To: kermit.misc@watsun.cc.columbia.edu
  15.  
  16. In article <3qau77$d4g@amhux3.amherst.edu>, jwmanly@unix.amherst.edu (John W. Manly) writes:
  17. > What we have diagnosed in this "unable to find hardware, using BIOS"
  18. > situation is that it's a timing related thing.  If we try to access the port
  19. > via a SET PORT command or a CONNECT right after Kermit starts up, it fails
  20. > fairly reliably.  But if we wait two or three seconds after Kermit starts,
  21. > the connection works just fine.  It looks for all the world as if Windows
  22. > is just taking to long to "let go" of the serial port (or initialize its
  23. > emulation).
  24. > The really frustrating thing is that you can't just put a PAUSE or WAIT
  25. > command in the MSKERMIT.INI file to cause the necessary delay -- those
  26. > commands don't work either -- Kermit just zips by them as if they weren't
  27. > there during this period before the serial interface is enabled.
  28. > So what we finally did, for those machines where this happens (and it happens
  29. > by no means to all of them) is insert a "Press RETURN to continue" message
  30. > at the beginning of the MSKERMIT.INI file, which seems to provide enough time
  31. > for Windows to do whatever it needs to do for Kermit's SET PORT command to
  32. > work.  I thought about just writing a counting loop, but decided it wasn't
  33. > worth the hassle since I would have to worry about the relative speed of
  34. > the machine to make sure it didn't take too long on slow machines, but didn't
  35. > complete too quickly (before SET PORT would work) for fast ones.
  36. > - John W. Manly  <JWMANLY@AMHERST.EDU>  Amherst College
  37. -----------
  38.     I repeated the exercise here too. I happen to use a Hayes ESP serial
  39. board with its Windows drivers. Two observations. First, indeed Windows
  40. declines to cooperate in sampling the serial port for IBM-PC-UART-ness during
  41. the first attempt. My system says MSK can't validate the IRQ for COM1.
  42. Secondly, PAUSE opens the serial port because the command was designed to
  43. work with modem scripts and thus keep echoed material showing on the screen.
  44. SLEEP does the same waiting without touching the comms channel.
  45.     Then, both PAUSE and SLEEP do work fine in a Kermit startup file.
  46. What you stated as zipping right through was really Windows starting Kermit
  47. from some gosh awful place, such as \Windows, and MSK never saw it's
  48. initialization file(s). Verify by SHOW MACRO or SHOW VARIABLE to see only
  49. the built-ins, or stick in a ECHO HELLO in a startup file.
  50.     The way I force Windows to let MSK startup normally is in the MSK
  51. PIF file I add the phrase  -f drive\path\mskermit.ini (choose your favorite
  52. file) in the "startup options" box. That is the command line passed to MSK
  53. and then MSK knows how to find the file(s) at startup time.
  54.     Thus, there are at least two things happening here. One is the 
  55. mysterious startup directory available to Kermit, solved by stating the
  56. fully qualified name of the startup file on the line which invokes Kermit. 
  57. The other is Windows appears to be sitting on the serial port until bumped 
  58. hard twice. You may want to experiment with serial port settings in win.ini
  59. to see if Windows can be told to stay away from the port. 
  60.         Joe D.